package ar.com.hakasoft

import org.springframework.transaction.annotation.Transactional

import ar.com.hakasoft.entities.Usuario

class SistemaService {

    static transactional = false

    @Transactional(readOnly = true)
	def obtenerUsuario(usuario, password){
		return Usuario.findByUsernameAndPassword(usuario, password)
	}
}
